//
// Created by bill3000 on 2/8/21.
//

#ifndef INTELLI_TRANSITION_HPP
#define INTELLI_TRANSITION_HPP

class Transition {
public:
    Transition(unsigned int e, unsigned int a, unsigned int s):
        event_code(e), action_code(a), state_code(s) {};

    unsigned int get_event_code() const {return event_code;}
    unsigned int get_action_code() const {return action_code;}
    unsigned int get_state_code() const {return state_code;}

private:
    unsigned int event_code;  //事件编号，event == ctype
    unsigned int action_code; //要执行的动作编号，action == 动作编号
    unsigned int state_code;  //新状态编号
};

#endif //INTELLI_TRANSITION_HPP
